package com.csun.cmny.provider.dao;

import com.csun.cmny.provider.pojo.CacBigItem;

public interface CacBigItemMapper {
    int deleteByPrimaryKey(Integer bigItemId);

    int insert(CacBigItem record);

    int insertSelective(CacBigItem record);

    CacBigItem selectByPrimaryKey(Integer bigItemId);

    int updateByPrimaryKeySelective(CacBigItem record);

    int updateByPrimaryKey(CacBigItem record);

    /**
     * 根据CacBigItem查询CacBigItem
     * author:liqian
     * date:2018-10-31 13:18
     */
    CacBigItem selectByCbi(CacBigItem cacBigItem);

    /**
     * 根据类别id删除大项
     * author:liqian
     * date:2018-10-31 15:55
     */
    int delByTypeId(Integer cacTypeId);

    /**
     * 根据大项id查询大项及大项下的小项
     * author:liqian
     * date:2018-11-01 15:00
     */
    CacBigItem selectById(Integer bigItemId);
}